{template 'common/header'}

<div class="pull-left col-sm-2 caidan">
		{template 'left_nav'}
	</div>
	
	<div class="pull-left col-sm-10" >


<div class="we7-page-title">联系我们</div>
<link rel="stylesheet" type="text/css" href="{MODULE_URL}template/style/main.css">


<form id="reply-forms" action="" method="post" enctype="multipart/form-data" ng-controller="KeywordReply"
	class="ng-pristine ng-valid ng-scope">

	
	<input type="hidden" name="op" class="form-control" id="contact_name" value="{if $contact_info[id] }edit{/if}">

<div class="panel panel-default">
	<div class="panel-body">

		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">企业名称</label>
			<div class="col-sm-10">
				<input type="text" name="name" class="form-control" id="contact_name" placeholder="请输入企业名称"
					value="{$contact_info[name]}">
			</div>
		</div>


		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">企业LOGO</label>
			<div class="col-sm-5">
	
					{php echo tpl_form_field_image('logo',$contact_info['logo']);}

			</div>
		</div>
		
		<div class="form-group">
				<label for="firstname" class="col-sm-2 control-label">顶部广告图</label>
				<div class="col-sm-5">
		
						{php echo tpl_form_field_image('banner',$contact_info['banner']);}
	
				</div>
			</div>
		
			

		<!-- contact_background -->

		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">联系电话</label>
			<div class="col-sm-10">
				<input type="text" name="phone" class="form-control" id="keyword" placeholder="请输入联系电话"
					value="{$contact_info[phone]}">
			</div>
		</div>
		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">QQ</label>
			<div class="col-sm-10">
				<input type="text" name="qq" class="form-control" id="description" placeholder="请输入QQ"
					value="{$contact_info[qq]}">
			</div>
		</div>
		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">邮箱</label>
			<div class="col-sm-10">
				<input type="text" name="email" class="form-control" id="description" placeholder="请输入邮箱"
					value="{$contact_info[email]}">
			</div>
		</div>

		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">公司地址</label>
			<div class="col-sm-10">
				<input type="text" name="address" class="form-control" id="description" placeholder="请输入公司地址"
					value="{$contact_info[address]}">
			</div>
		</div>


	</div>
</div>

<h4>公司简介</h4>
<div class="panel panel-default">
		<div class="panel-body">
	
			<div class="form-group">
				<label for="firstname" class="col-sm-2 control-label">公司介绍</label>
					<div class="col-sm-10">
						<textarea type="text" name="message" class="form-control" id="description" placeholder="请输入公司介绍信息">{$contact_info[message]}</textarea>
					</div>
			</div>
					
			<div class="form-group">
				<label for="firstname" class="col-sm-2 control-label">宣传图</label>
				<div class="col-sm-5">

					{php echo tpl_form_field_image('pictures',$contact_info['pictures']);}

				</div>
			</div>

	
	

		</div>
	</div>


<div class="clearfix"></div>
<div class="form-group reply-post-action we7-margin-top" style="text-align: center;">
	<div class="">

		<input type="submit" class="btn btn-primary js-editor-submit multi-submit" style="width:200px" value="保存">

	</div>
</div>


</form>

</div>
{template 'common/footer'}